From: Keir Fraser Date: Fri, 20 Mar 2009 08:34:24 +0000 (+0000) Subject: x86: Fix the 32-bit build after c/s 19400. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13992^2~25 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f13bb77a496cf646c8f7ae87f74ff201450d3d21;p=xen.git x86: Fix the 32-bit build after c/s 19400. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/acpi/suspend.c b/xen/arch/x86/acpi/suspend.c index 8d83168b7a..0aac31da68 100644 --- a/xen/arch/x86/acpi/suspend.c +++ b/xen/arch/x86/acpi/suspend.c @@ -43,7 +43,7 @@ void restore_rest_processor_state(void) wrmsr(MSR_SYSCALL_MASK, EF_VM|EF_RF|EF_NT|EF_DF|EF_IE|EF_TF, 0U); #else /* !defined(CONFIG_X86_64) */ if ( supervisor_mode_kernel && cpu_has_sep ) - wrmsr(MSR_IA32_SYSENTER_ESP, &t->esp1, 0); + wrmsr(MSR_IA32_SYSENTER_ESP, &init_tss[smp_processor_id()].esp1, 0); #endif /* Maybe load the debug registers. */